#ifndef QPOINTDIALOG_H
#define QPOINTDIALOG_H

#include <QDialog>

namespace Ui {
class QPointDialog;
}

class QPointDialog : public QDialog
{
    Q_OBJECT
    
public:
    explicit QPointDialog(const QPointF& pt,QWidget *parent = 0);
    ~QPointDialog();
    
    int get_ret();
    QPointF get_point();
private slots:
    void on_okBtn_clicked();

    void on_cancelBtn_clicked();

private:
    Ui::QPointDialog *ui;
protected:
    QPointF     m_point;
    int         m_ret;
};

#endif // QPOINTDIALOG_H
